#ifndef _HEAD_
#define _HEAD_

#include<iostream>
#include<string>
#include<fstream>
#include <codecvt>
#include <locale>

#include<strHandler.hpp>

#include<windows.h>


std::string str_utf16le_to_utf8(const char* utf16Str, size_t len);
std::wstring str_utf8_to_unicode(const std::string& str);

std::string str_gpk_to_utf8(const char *gpk_str);
std::string str_utf8_to_gpk(const char *uft8_str);

bool utf16le_to_utf8(const std::string& file, const std::string& output);
bool utf16le_to_utf8bom(const std::string& file, const std::string& output);

bool gpk_to_utf8(const std::string& file, const std::string& output);
bool utf8_to_gpk(const std::string& file, const std::string& output);



#endif